package com.aspose.cells;

class zave implements com.aspose.cells.b.a.zi {
   private float a;
   private float b;
   private zbob c;
   private int d = 0;
   private com.aspose.cells.b.a.b.zq e;

   private zave() {
   }

   public zave(int var1, zbob var2) {
      this.a = 0.0F;
      this.b = 0.0F;
      this.d = var1;
      this.c = var2;
   }

   public float a() {
      return this.a;
   }

   public void a(float var1) {
      this.a = var1;
   }

   public float b() {
      return this.b;
   }

   public void b(float var1) {
      this.b = var1;
   }

   public boolean c() {
      return this.c != null && this.c.b == 2 && "#N/A".equals(com.aspose.cells.b.a.zr.a(this.c.a));
   }

   public Object d() {
      Object var1 = null;
      if (this.c != null) {
         if (this.c.b == 5) {
            var1 = 0.0D;
         } else if (this.c.b == 2) {
            if ("#N/A".equals(com.aspose.cells.b.a.zr.a(this.c.a))) {
               var1 = null;
            } else {
               var1 = 0.0D;
            }
         } else if (this.c.b == 3) {
            if (this.d == 1) {
               var1 = 0.0D;
            } else {
               var1 = null;
            }
         } else {
            var1 = this.c.a;
         }
      }

      return var1;
   }

   public com.aspose.cells.b.a.b.zq e() {
      return this.e;
   }

   public void a(com.aspose.cells.b.a.b.zq var1) {
      this.e = var1;
   }

   public int compareTo(Object obj) {
      zave var2 = (zave)com.aspose.cells.b.a.zl.a(obj, zave.class);
      byte var3 = 0;
      if (this.b() > var2.b()) {
         var3 = 1;
      }

      if (this.b() == var2.b()) {
         var3 = 0;
      }

      if (this.b() < var2.b()) {
         var3 = -1;
      }

      return var3;
   }
}
